<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="8.4.3">
<drawing>
<board>
<plain>
<wire x1="0" y1="0" x2="160" y2="0" width="0" layer="20"/>
<wire x1="160" y1="0" x2="160" y2="100" width="0" layer="20"/>
<wire x1="160" y1="100" x2="0" y2="100" width="0" layer="20"/>
<wire x1="0" y1="100" x2="0" y2="0" width="0" layer="20"/>
</plain>
<libraries>
<library name="flight_controller.lbr01_SparkFun">
<packages>
<package name="1X04_LONGPADS">
</package>
<package name="1X02_LOCK_LONGPADS">
<description>This footprint was designed to help hold the alignment of a through-hole component (i.e.  6-pin header) while soldering it into place.  
You may notice that each hole has been shifted either up or down by 0.005 of an inch from it's more standard position (which is a perfectly straight line).  
This slight alteration caused the pins (the squares in the middle) to touch the edges of the holes.  Because they are alternating, it causes a "brace" 
to hold the component in place.  0.005 has proven to be the perfect amount of "off-center" position when using our standard breakaway headers.
Although looks a little odd when you look at the bare footprint, once you have a header in there, the alteration is very hard to notice.  Also,
if you push a header all the way into place, it is covered up entirely on the bottom side.  This idea of altering the position of holes to aid alignment 
will be further integrated into the Sparkfun Library for other footprints.  It can help hold any component with 3 or more connection pins.</description>
</package>
<package name="1X01_LONGPAD">
</package>
</packages>
</library>
<library name="01_SparkFun">
<description>&lt;h3&gt;SparkFun Electronics' preferred foot prints&lt;/h3&gt;
We've spent an enormous amount of time creating and checking these footprints and parts. If you enjoy using this library, please buy one of our products at www.sparkfun.com.
&lt;br&gt;&lt;br&gt;
&lt;b&gt;Licensing:&lt;/b&gt; CC v3.0 Share-Alike You are welcome to use this library for commercial purposes. For attribution, we ask that when you begin to sell your device using our footprint, you email us with a link to the product being sold. We want bragging rights that we helped (in a very small part) to create your 8th world wonder. We would like the opportunity to feature your device on our homepage.</description>
<packages>
<package name="1206">
</package>
</packages>
</library>
<library name="pinhead">
<description>&lt;b&gt;Pin Header Connectors&lt;/b&gt;&lt;p&gt;
&lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;</description>
<packages>
<package name="1X04">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
</package>
<package name="1X05">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
</package>
</packages>
</library>
<library name="FAB_Hello">
<packages>
<package name="1206">
<description>&lt;b&gt;RESISTOR&lt;/b&gt;&lt;p&gt;
chip</description>
</package>
</packages>
</library>
<library name="atmega8">
<packages>
<package name="TQFP32-08">
<description>&lt;B&gt;Thin Plasic Quad Flat Package&lt;/B&gt; Grid 0.8 mm</description>
</package>
</packages>
</library>
<library name="fablab">
<packages>
<package name="6MM_SWITCH">
<description>&lt;b&gt;OMRON SWITCH&lt;/b&gt;</description>
</package>
</packages>
</library>
</libraries>
<attributes>
</attributes>
<variantdefs>
</variantdefs>
<elements>
<element name="ADC1" library="flight_controller.lbr01_SparkFun" package="1X04_LONGPADS" value=""/>
<element name="ADC2" library="flight_controller.lbr01_SparkFun" package="1X04_LONGPADS" value=""/>
<element name="C3" library="01_SparkFun" package="1206" value="10uF"/>
<element name="C4" library="01_SparkFun" package="1206" value="1uF"/>
<element name="C5" library="01_SparkFun" package="1206" value="100nF"/>
<element name="SPI" library="pinhead" package="1X04" value=""/>
<element name="LED_BUILTIN" library="FAB_Hello" package="1206" value=""/>
<element name="MIC" library="atmega8" package="TQFP32-08" value="ATMEGA328P-AU"/>
<element name="POWER" library="flight_controller.lbr01_SparkFun" package="1X02_LOCK_LONGPADS" value=""/>
<element name="PWR_CELL+" library="flight_controller.lbr01_SparkFun" package="1X01_LONGPAD" value="M01PTH_LONGPAD"/>
<element name="PWR_CELL-" library="flight_controller.lbr01_SparkFun" package="1X01_LONGPAD" value="M01PTH_LONGPAD"/>
<element name="PWR_LED" library="FAB_Hello" package="1206" value=""/>
<element name="PWR_LIPO" library="flight_controller.lbr01_SparkFun" package="1X02_LOCK_LONGPADS" value=""/>
<element name="R1" library="01_SparkFun" package="1206" value="10k"/>
<element name="R2" library="FAB_Hello" package="1206" value="330R"/>
<element name="R3" library="FAB_Hello" package="1206" value="330R"/>
<element name="DIGITAL2" library="pinhead" package="1X05" value=""/>
<element name="DIGITAL1" library="flight_controller.lbr01_SparkFun" package="1X04_LONGPADS" value=""/>
<element name="S1" library="fablab" package="6MM_SWITCH" value=""/>
</elements>
<signals>
<signal name="VCC">
<contactref element="MIC" pad="4"/>
<contactref element="MIC" pad="18"/>
<contactref element="MIC" pad="6"/>
<contactref element="R1" pad="1"/>
<contactref element="C4" pad="1"/>
<contactref element="C5" pad="1"/>
<contactref element="C3" pad="1"/>
<contactref element="PWR_LED" pad="1"/>
<contactref element="PWR_CELL+" pad="1"/>
<contactref element="PWR_LIPO" pad="2"/>
<contactref element="POWER" pad="2"/>
</signal>
<signal name="GND">
<contactref element="C4" pad="2"/>
<contactref element="C5" pad="2"/>
<contactref element="C3" pad="2"/>
<contactref element="MIC" pad="21"/>
<contactref element="MIC" pad="3"/>
<contactref element="MIC" pad="5"/>
<contactref element="R3" pad="1"/>
<contactref element="R2" pad="1"/>
<contactref element="PWR_CELL-" pad="1"/>
<contactref element="PWR_LIPO" pad="1"/>
<contactref element="POWER" pad="1"/>
<contactref element="S1" pad="1"/>
<contactref element="S1" pad="2"/>
</signal>
<signal name="RST">
<contactref element="R1" pad="2"/>
<contactref element="MIC" pad="29"/>
<contactref element="S1" pad="3"/>
<contactref element="S1" pad="4"/>
</signal>
<signal name="ADC3">
<contactref element="MIC" pad="26"/>
<contactref element="ADC2" pad="3"/>
</signal>
<signal name="ADC1">
<contactref element="MIC" pad="24"/>
<contactref element="ADC1" pad="1"/>
</signal>
<signal name="ADC4/SDA">
<contactref element="MIC" pad="27"/>
<contactref element="ADC2" pad="2"/>
</signal>
<signal name="ADC2">
<contactref element="MIC" pad="25"/>
<contactref element="ADC2" pad="4"/>
</signal>
<signal name="ADC0">
<contactref element="MIC" pad="23"/>
<contactref element="ADC1" pad="2"/>
</signal>
<signal name="ADC5/SCL">
<contactref element="MIC" pad="28"/>
<contactref element="ADC2" pad="1"/>
</signal>
<signal name="D10/SS">
<contactref element="MIC" pad="14"/>
<contactref element="SPI" pad="4"/>
</signal>
<signal name="D11/MOSI">
<contactref element="MIC" pad="15"/>
<contactref element="SPI" pad="3"/>
</signal>
<signal name="D12/MISO">
<contactref element="MIC" pad="16"/>
<contactref element="SPI" pad="2"/>
</signal>
<signal name="D13/SCK">
<contactref element="MIC" pad="17"/>
<contactref element="LED_BUILTIN" pad="1"/>
<contactref element="SPI" pad="1"/>
</signal>
<signal name="D14">
<contactref element="MIC" pad="7"/>
<contactref element="DIGITAL2" pad="1"/>
</signal>
<signal name="D15">
<contactref element="MIC" pad="8"/>
<contactref element="DIGITAL2" pad="2"/>
</signal>
<signal name="D3/INT1/PWM1">
<contactref element="MIC" pad="1"/>
<contactref element="DIGITAL1" pad="4"/>
</signal>
<signal name="D5/PWM2">
<contactref element="MIC" pad="9"/>
<contactref element="DIGITAL2" pad="3"/>
</signal>
<signal name="D6/PWM3">
<contactref element="MIC" pad="10"/>
<contactref element="DIGITAL2" pad="4"/>
</signal>
<signal name="D9/PWM4">
<contactref element="MIC" pad="13"/>
<contactref element="DIGITAL2" pad="5"/>
</signal>
<signal name="ADC6">
<contactref element="MIC" pad="19"/>
<contactref element="ADC1" pad="4"/>
</signal>
<signal name="ADC7">
<contactref element="MIC" pad="22"/>
<contactref element="ADC1" pad="3"/>
</signal>
<signal name="N$2">
<contactref element="LED_BUILTIN" pad="2"/>
<contactref element="R3" pad="2"/>
</signal>
<signal name="N$3">
<contactref element="PWR_LED" pad="2"/>
<contactref element="R2" pad="2"/>
</signal>
<signal name="D2/INT0">
<contactref element="MIC" pad="32"/>
<contactref element="DIGITAL1" pad="3"/>
</signal>
<signal name="D0/RX">
<contactref element="MIC" pad="30"/>
<contactref element="DIGITAL1" pad="1"/>
</signal>
<signal name="D1/TX">
<contactref element="MIC" pad="31"/>
<contactref element="DIGITAL1" pad="2"/>
</signal>
</signals>
</board>
</drawing>
</eagle>
